package com.megvii.koala.data.filter;

import com.megvii.koala.data.bean.VisitorBean;

/**
 * Created by linyue on 15/12/31.
 */
public class VisitorFilter extends CharacterFilter<VisitorBean>
{
    public VisitorFilter(String filterStr, boolean whenFilterStrNull)
    {
        super(filterStr, whenFilterStrNull);
    }

    @Override
    public String getValueToFilter(VisitorBean object)
    {
        return object.name;
    }
}
